package com.guigu.dao;

import com.github.pagehelper.Page;
import com.guigu.pojo.EvaluationSuggestions;
import com.guigu.pojo.EvaluationSuggestionsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EvaluationSuggestionsMapper {
    long countByExample(EvaluationSuggestionsExample example);

    int deleteByExample(EvaluationSuggestionsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EvaluationSuggestions record);

    int insertSelective(EvaluationSuggestions record);

    List<EvaluationSuggestions> selectByExample(EvaluationSuggestionsExample example);

    EvaluationSuggestions selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EvaluationSuggestions record, @Param("example") EvaluationSuggestionsExample example);

    int updateByExample(@Param("record") EvaluationSuggestions record, @Param("example") EvaluationSuggestionsExample example);

    int updateByPrimaryKeySelective(EvaluationSuggestions record);

    int updateByPrimaryKey(EvaluationSuggestions record);


    Page<EvaluationSuggestions> selectByCondition(String queryString);

    int edit(EvaluationSuggestions eval);
}